package com.meilai.project.entity.media;

import lombok.Data;

/**
 * @author xchen
 * @since 2022-03-20
 */
@Data
public class MediaSpecPriceCountPO {
    private Long media_type_spec_price_id;
    private String media_type_spec_price_name;
    private Long spec_count;
    private String size_width;
    private String size_height;

    private Long daterange_id;

    public String size() {
        if (null == this.size_height || this.size_width == null) {
            return "";
        }
        return this.size_width + "cm*" + this.size_height + "cm";
    }

}
